//package cn.com.cbons.mamisay.openapi.provider;
//
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import cn.com.cbons.mamisay.openapi.mapper.TbProTypeMapper;
//import cn.com.cbons.mamisay.openapi.entity.TbProType;
//import cn.com.cbons.mamisay.openapi.service.TbProTypeService;
//import cn.com.cbons.mamisay.parent.db.api.DBInterface;
//import cn.com.cbons.mamisay.parent.service.base.ParentServiceImpl;
//
//import com.github.pagehelper.PageHelper;
//import com.github.pagehelper.PageInfo;
//@Service("proType")
//public class TbProTypeServiceImpl extends ParentServiceImpl<TbProType> implements TbProTypeService {
//	
//	
//	@Autowired
//	private TbProTypeMapper tbProTypeMapper;
//	
//	@Override
//	protected DBInterface<TbProType> getDao() {
//		return tbProTypeMapper;
//	}
//
//	@Override
//	public List<TbProType> findProTypeList() {
//		Map<String,Object> map = new HashMap<String,Object>();
//		return tbProTypeMapper.findProTypeList(map);
//	}
//
//	@Override
//	public PageInfo<TbProType> findProTypeList(Map<String, Object> map) {
//		PageHelper.startPage(Integer.valueOf(map.get("pageNo").toString()),Integer.valueOf(map.get("pageSize").toString()));
//		List<TbProType> proTypeList = tbProTypeMapper.findProTypeList(map);
//		PageInfo<TbProType> page = new PageInfo<TbProType>(proTypeList);
//		return page;
//	}
//
//	@Override
//	public List<TbProType> findProTypeEnabledList() {
//		Map<String,Object> map = new HashMap<String,Object>();
//		map.put("protypeIsabled", 1);
//		return tbProTypeMapper.findProTypeList(map);
//	}
//}
